import http from '../request.js'
export const getCode = (data) => http({
        url: 'jrfk/b/privs/vc?t',
        method: 'GET',
        data: data,
		responseType:'arraybuffer',
		loading:false
    }),
    login = (data) => http({
        url: 'jrfk/b/privs/login',
        method: 'POST',
		header:'application/x-www-form-urlencoded',
        data: data
    }),
    getBList = (data) => http({
        url: 'zxw/company/h5Finance/getAllJrjg',
        method: 'POST',
        data: data,
        isAuth: true
    }),
	getAlljrjg = (data) => http({
	    url: 'mh/appProduct/getAlljrjg',
	    method: 'POST',
	    data: data
	}),
    getCList = (data) => http({
        url: 'zxw/company/h5Finance/getProductList',
        method: 'POST',
        data: data,
        isAuth: true
    }),
    getMsgCode = (data) => http({
        url: 'zxw/company/springLoanLogin/sendCode-794E8A0B-D406-2DC1-8B6D-50499ABFFD2A',
        method: 'GET',
        data: data,
        header: 'application/x-www-form-urlencoded',
        isAuth: true
    }),
    clickCount = (data) => http({
        url: 'mh/click/record',
        method: 'GET',
        data: {
            source: 2
        },
    }),
	getConfirmStatus = (data) => http({
        url: 'zxw/company/sjrfdConfirm/h5ConfirmStatus',
        method: 'GET',
    }),
	confirm = (data) => http({
        url: 'zxw/company/sjrfdConfirm/h5confirm',
        method: 'GET',
    }),
	wxAlterDetail = (data) => http({ //预警通知
	    url: 'zxw/jrjg/khjl/wxAlterDetail',
	    method: 'POST',
		data,
		header: 'application/x-www-form-urlencoded',
	}),
    getregAssist = (data) => http({
        url: 'zxw/company/regAssist/getInfo',
        method: 'POST',
        data: data,
		header: 'application/x-www-form-urlencoded',
    });
